package com.ljh.trans.service;

import com.ljh.trans.mapper.UserInfoMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: Themberfue
 * @date: 2025/3/27 19:22
 * @description:
 */
@Slf4j
@Service
public class UserService {
    @Autowired
    private UserInfoMapper userInfoMapper;
    public Integer registryUser(String name,String password){
        return userInfoMapper.insert(name, password);
    }
}
